<?php

/*
	Class: AdminController.php

	About: Author
		J William McCarthy

	About: License
		<http://communit.as/docs/license>

	About: See Also
		<App_Controller_Action_Abstract>
*/
class AdminController extends  App_Controller_Action_Abstract {

	/* Group: Instance Methods */

	/*
		Function: init
			Invoked automatically when an instance is created.
			For this class, does nothing other than initialize the parent object (calls init() on the parent instance).
	*/
	function init(){
        parent::init();
    }

	/* Group: Actions */

	/*
		Function: index
			The administration landing page.



	*/
    function indexAction(){
    	
    }
    
    function upgradeAction(){
    	// check database version
    	$db_version 		= App_Registry::get("database_version","1000","default");
    	$app_db_version 	= 
    	
    	dd("upgrade");
    }
    
}